package com.scm.biz.result;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * 大货生产通知单结果集类
 * @author 张乐锋
 *
 */
public class ProductionNoticeResult {
	//母订单Id
	private Long orderId;
	//子订单号
	private String code;
	//创建时间
	private String createAt = new SimpleDateFormat("yyyy/MM/dd HH:mm").format(new Date());
	//截止时间
	private Date deliveryDate;
	//客户名称
	private String fullname;
	//客户编号
	private String customerCode;
	//是否有样衣
	private String isExists;
	//客户需求
	private String requirement;
	//工厂名称
	private String factoryName;
	//工厂编号
	private String factoryCode;
	//相关人员
	private List<RoleNameResult> participants;
	//大货相关信息
	private ProductionDetailResult detailResult;
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public Date getDeliveryDate() {
		return deliveryDate;
	}
	public void setDeliveryDate(Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}
	public String getFullname() {
		return fullname;
	}
	public void setFullname(String fullname) {
		this.fullname = fullname;
	}
	public String getCustomerCode() {
		return customerCode;
	}
	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}
	public String getIsExists() {
		return isExists;
	}
	public void setIsExists(String isExists) {
		this.isExists = isExists;
	}
	public String getRequirement() {
		return requirement;
	}
	public void setRequirement(String requirement) {
		this.requirement = requirement;
	}
	public String getFactoryName() {
		return factoryName;
	}
	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}
	public String getFactoryCode() {
		return factoryCode;
	}
	public void setFactoryCode(String factoryCode) {
		this.factoryCode = factoryCode;
	}
	public List<RoleNameResult> getParticipants() {
		return participants;
	}
	public void setParticipants(List<RoleNameResult> participants) {
		this.participants = participants;
	}
	public ProductionDetailResult getDetailResult() {
		return detailResult;
	}
	public void setDetailResult(ProductionDetailResult detailResult) {
		this.detailResult = detailResult;
	}
	@Override
	public String toString() {
		return "ProductionNoticeResult [code=" + code + ", createAt=" + createAt + ", deliveryDate=" + deliveryDate
				+ ", fullname=" + fullname + ", customerCode=" + customerCode + ", isExists=" + isExists
				+ ", requirement=" + requirement + ", participants=" + participants + ", detailResult="
				+ detailResult + "]";
	}
	
}
